﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for PackageBooking
/// </summary>
public class PackageBooking:Booking
{

    /// <summary>
    /// Fields of PackageBooking
    /// </summary>
    #region Fields
    int id;
    Tour tour;
    int guestNumber;  
    DateTime departureTime;
    decimal price;
    string note;   
    DateTime modifiedDate;  
    int modifiedBy;  
   
    #endregion

    /// <summary>
    /// Properties of PackageBooking
    /// </summary>
    #region Properties
    public int ID
    {
        get { return id; }
        set { id = value; }
    }
    public Tour Tour
    {
        get { return tour; }
        set { tour = value; }
    }
    public int GuestNumber
    {
        get { return guestNumber; }
        set { guestNumber = value; }
    }
    public DateTime DepartureTime
    {
        get { return departureTime; }
        set { departureTime = value; }
    }
    public decimal Price
    {
        get { return price; }
        set { price = value; }
    }
    public string Note
    {
        get { return note; }
        set { note = value; }
    }

    #endregion

    /// <summary>
    /// Constructures PackageBooking
    /// </summary>
    #region Constructures
    public PackageBooking()
    {
        id = 0;
        tour = new Tour();
        guestNumber = 0;
        departureTime = new DateTime();
        note = "";
        modifiedBy = 0;
        modifiedDate = new DateTime();
    }
    public PackageBooking(Tour tour, int guestNumber, DateTime departureTime, byte state, string note, DateTime modifiedDate, int modifiedBy)
	{
        id = 0;
        this.tour = tour;
        this.guestNumber = guestNumber;
        this.departureTime = departureTime;
        this.State = state;
        this.note = note;
        this.modifiedBy = modifiedBy;
        this.modifiedDate = modifiedDate;
    }
    #endregion
}